var express = require('express');
var router = express.Router();

const { addCar, delCar, changeCar, uploadImgs, findAllCar, findCarByID, clickChangeStatus,searchCarByName, clickChangeVerify } = require("../controllers/carCon")

router.post("/addCar", addCar)
router.post("/delCar", delCar)
router.post("/changeCar", changeCar)
router.post("/findAllCar", findAllCar)
router.post("/findCarByID", findCarByID)
router.post("/uploadImgs", uploadImgs)
router.post("/clickChangeStatus", clickChangeStatus)
router.post("/clickChangeVerify", clickChangeVerify)
router.post("/searchCarByName", searchCarByName)

module.exports = router;
